package upload;


public class TestUpload
{
	public TestUpload(){
//		UploadInfoBean uib = new UploadInfoBean("F:/数据恢复","EasyRecoveryPro6.10.07_HA_Setup.exe",5);
//		UploadInfoBean uib = new UploadInfoBean("W:/办公软件","HA_Notepad2_v2018.rar",5);
		UploadInfoBean uib = new UploadInfoBean("W:/办公软件","wrar压缩.exe",5);
//		UploadInfoBean uib = new UploadInfoBean("W:/办公软件","error.txt",2);
		
		try{
			UploadEngine ue = new UploadEngine(uib,null);
			ue.start();
		}catch(Exception e){
			System.err.print(e.getMessage());
		}
	}
	
	
	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		new TestUpload();
	}

}
